﻿using System;

public class PropertyChangedEventArgs : EventArgs
{
    private string propertyName;
    private object oldValue;
    private object newValue;

    public PropertyChangedEventArgs(string propertyName, object oldValue, object newValue)
    {
        this.propertyName = propertyName;
        this.oldValue = oldValue;
        this.newValue = newValue;
    }

    public object NewValue
    {
        get
        {
            return newValue;
        }
    }

    public object OldValue
    {
        get
        {
            return oldValue;
        }
    }

    public string PropertyName
    {
        get
        {
            return propertyName;
        }
    }
}